package model;

import java.util.Date;

public class FlightLeg {
	private Airport departureAirport;
	private Airport arrivalAirport;
	private Date departureDate;
	private Date arrivalDate;
	
	
	// --- Getters,Setters,Constructors ----------------------------------------
	public FlightLeg(Airport departureAirport, Airport arrivalAirport,
			Date departureDate, Date arrivalDate) {
		this.departureAirport = departureAirport;
		this.arrivalAirport = arrivalAirport;
		this.departureDate = departureDate;
		this.arrivalDate = arrivalDate;
	}


	public Airport getDepartureAirport() {
		return departureAirport;
	}


	public Airport getArrivalAirport() {
		return arrivalAirport;
	}


	public Date getDepartureDate() {
		return departureDate;
	}


	public Date getArrivalDate() {
		return arrivalDate;
	}
	
}
